Ext.define('MyApp.view.Viewport', {
    extend: 'Ext.container.Viewport',
    alias: 'widget.viewport',
    title: 'View port',
    layout: 'fit',
    // requires: [
    //     'wjw.view.Panelcenter',
    //     'wjw.view.Emailpanel',
    //     'wjw.view.Phonepanel'
    // ],
    frame:true,
    // refs:[{ref: 'login',
    //     selector: 'login'
    // }],
    //Error:is was initComponents
    initComponent: function () {
        var me = this;
        // Ext.apply(me,{
        //     items: [Ext.create['MyApp.view.Login']
        //     ]
        // });
        items:[{
                xtype: 'login',
                }
             ],    
        //Error: do not forget this line in each initComponent method
        me.callParent(arguments);
    }
});